import { post } from '@/utils/request'

// 举个例子请求列表 获取订单列表
export async function getBillList(params) {
  return post({
    url: '/pos/bill/getList/v001',
    params
  })
}

export async function getStoreList(params) {
  return post({
    url: '/yos-setting/store/getStoreList/v001',
    params: params
  })
}

export async function getOrgDetail(params) {
  return post({
    url: '/yos-setting/store/getOrgDetail/v001',
    params: params
  })
}

export async function getEntDoc(params) {
  return post({
    url: '/yos-setting/store/getEntDoc/v001',
    params: params
  })
}

export async function getOrgDoc(params) {
  return post({
    url: '/yos-setting/store/getOrgDoc/v001',
    params: params
  })
}

export async function getStaffDetail(params) {
  return post({
    url: '/yos-setting/staff/getStaffDetail/v001',
    params: params
  })
}

export async function getstaffList(params) {
  return post({
    url: '/yos-setting/staff/getStaffList/v001',
    params: params
  })
}

export async function getRoleDoc(params) {
  return post({
    url: '/yos-setting/staff/getRoleDoc/v001',
    params: params
  })
}

export async function getDict(params) {
  return post({
    url: '/yos-setting/staff/getDict/v001',
    params: params
  })
}

export async function saveStaffDetail(params) {
  return post({
    url: '/yos-setting/staff/saveStaffDetail/v001',
    params: params
  })
}

export async function updateStaffDetail(params) {
  return post({
    url: '/yos-setting/staff/updateStaffDetail/v001',
    params: params
  })
}

export async function submitStaffDetail(params) {
  return post({
    url: '/yos-setting/staff/submitStaffDetail/v001',
    params: params
  })
}

export async function sendVerificationCode(params) {
  return post({
    url: '/commons/api/security/sendVerificationCode/v001',
    params: params
  })
}

export async function yosLogin(params) {
  return post({
    url: '/yos-user/auth/yosLogin/v001',
    params: params
  })
}

export async function getOrgList(params) {
  return post({
    url: '/yos-user/auth/getOrgList/v001',
    params: params
  })
}

export async function selectOrg(params) {
  return post({
    url: '/yos-user/auth/selectOrg/v001',
    params: params
  })
}

export async function staffQuit(params) {
  return post({
    url: '/yos-setting/staff/staffQuit/v001',
    params: params
  })
}

